import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { IRobIslandPrx } from "./IRobIslandPrx";
import { AMI_IRobIsland_addAttackTimes } from "./AMI_IRobIsland_addAttackTimes";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_IRobIsland_attackIsland } from "./AMI_IRobIsland_attackIsland";
import { AMI_IRobIsland_dropPlace } from "./AMI_IRobIsland_dropPlace";
import { AMI_IRobIsland_getFightPetList } from "./AMI_IRobIsland_getFightPetList";
import { AMI_IRobIsland_getGuildFightingInfo } from "./AMI_IRobIsland_getGuildFightingInfo";
import { AMI_IRobIsland_getGuildInfo } from "./AMI_IRobIsland_getGuildInfo";
import { AMI_IRobIsland_getGuildLog } from "./AMI_IRobIsland_getGuildLog";
import { AMI_IRobIsland_getGuildMemberInfo } from "./AMI_IRobIsland_getGuildMemberInfo";
import { AMI_IRobIsland_getIslandInfo } from "./AMI_IRobIsland_getIslandInfo";
import { AMI_IRobIsland_getPetInfo } from "./AMI_IRobIsland_getPetInfo";
import { SEntityId } from "../Public/SEntityId";
import { AMI_IRobIsland_getPlaceInfo } from "./AMI_IRobIsland_getPlaceInfo";
import { AMI_IRobIsland_getPlayerInfo } from "./AMI_IRobIsland_getPlayerInfo";
import { AMI_IRobIsland_getSignUpInfo } from "./AMI_IRobIsland_getSignUpInfo";
import { AMI_IRobIsland_join } from "./AMI_IRobIsland_join";
import { AMI_IRobIsland_memberOper } from "./AMI_IRobIsland_memberOper";
import { AMI_IRobIsland_movePet } from "./AMI_IRobIsland_movePet";
import { AMI_IRobIsland_observe } from "./AMI_IRobIsland_observe";
import { AMI_IRobIsland_updatePet } from "./AMI_IRobIsland_updatePet";
type int = number;
//class IRobIslandPrxHelper
    
    export  class IRobIslandPrxHelper extends RMIProxyObject implements IRobIslandPrx
    {
        constructor()
        {
            
            super();name = "IRobIsland";
            return;
        }

        public addAttackTimes_async(arg1: AMI_IRobIsland_addAttackTimes, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addAttackTimes");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public attackIsland_async(arg1: AMI_IRobIsland_attackIsland, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("attackIsland");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public dropPlace_async(arg1: AMI_IRobIsland_dropPlace, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("dropPlace");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getFightPetList_async(arg1: AMI_IRobIsland_getFightPetList, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getFightPetList");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildFightingInfo_async(arg1: AMI_IRobIsland_getGuildFightingInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildFightingInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildInfo_async(arg1: AMI_IRobIsland_getGuildInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildLog_async(arg1: AMI_IRobIsland_getGuildLog): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildLog");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getGuildMemberInfo_async(arg1: AMI_IRobIsland_getGuildMemberInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getGuildMemberInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getIslandInfo_async(arg1: AMI_IRobIsland_getIslandInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getIslandInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPetInfo_async(arg1: AMI_IRobIsland_getPetInfo, arg2: SEntityId): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPetInfo");
            var loc3=new SerializeStream();
            arg2.__write(loc3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPlaceInfo_async(arg1: AMI_IRobIsland_getPlaceInfo, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPlaceInfo");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getPlayerInfo_async(arg1: AMI_IRobIsland_getPlayerInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getPlayerInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getSignUpInfo_async(arg1: AMI_IRobIsland_getSignUpInfo): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getSignUpInfo");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public join_async(arg1: AMI_IRobIsland_join, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("join");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public memberOper_async(arg1: AMI_IRobIsland_memberOper, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("memberOper");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public movePet_async(arg1: AMI_IRobIsland_movePet, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("movePet");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public observe_async(arg1: AMI_IRobIsland_observe, arg2: int, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("observe");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updatePet_async(arg1: AMI_IRobIsland_updatePet, arg2: string, arg3: Boolean): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updatePet");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeBool(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.IRobIsland";
    }
